using System;
using System.Collections.Generic;
using System.Text;
using BuildingBasicDomain;
using CommonTypes.Events;


namespace BuildingStructuralElements
{
    [Serializable ]
    public class Column : BeamType 
    {
        public string Name
        {
            get
            {
                return "Column";
            }
        }

        public Column()
        {
        }
        /// <summary>
        /// beam contrsuctor with two nodes as parameters 
        /// </summary>
        /// <param HeaderName="StartingNode"></param>
        /// <param HeaderName="EndingNode"></param>
        public Column(Node sNode , Node eNode):base ()
        {/*
                _line = new NodeLine(sNode, eNode);
                (_line.NodeList as MVCFramework.IDomainCollection).OnExternalyChanged += new EventHandler<EventArgs>(InternalNodes_OnExternalyHaveChanged);
                SectionManager.Inscatnce.GetSection(this, "HEA", "120");
          * */
        }

        /// <summary>
        /// Beam from beamelement2 Object 
        /// </summary>
        /// <param HeaderName="beamelement2">the beamelement2 that defines Beam</param>
        public Column(ILine line):base()
        {
            /*
            this._line = NodeLine.Create (_line.SNode, _line.ENode);
            (this._line.NodeList as MVCFramework.IDomainCollection).OnExternalyChanged += new EventHandler<EventArgs>(InternalNodes_OnExternalyHaveChanged);
            SectionManager.Inscatnce.GetSection(this, "HEA", "120");
            //Section = new SectionIRolled(); 
             * */
        }

        # region "Interfaces implementation "

        public Object Clone()
        {
           return this.MemberwiseClone();
        }
        public override string ToString()
        {
            return this.Name;//+ SNode.ToString() + ENode.ToString();

        }
        #endregion
    }
}
